package com.hudilao.dto;

import com.hudilao.entity.Setmeal;
import com.hudilao.entity.SetmealDish;
import lombok.Data;

import java.util.List;

@Data
public class SetmealDTO extends Setmeal {
    //
    private List<SetmealDish> setmealDishes;

    //
    private String categoryName;

    @Override
    public String toString() {
        return "SetmealDTO{" +
                "id=" + getId() +
                ", categoryId=" + getCategoryId() +
                ", name='" + getName() + '\'' +
                ", price=" + getPrice() +
                ", status=" + getStatus() +
                ", code='" + getCode() + '\'' +
                ", description='" + getDescription() + '\'' +
                ", image='" + getImage() + '\'' +
                ", createTime=" + getCreateTime() +
                ", setmealDishes=" + setmealDishes +
                ", categoryName='" + categoryName + '\'' +
                '}';
    }
}

